import {request} from '@umijs/max';
import * as API from "@/services";


/** 支付管理 退款(使用收钱吧参数) */
export async function refundSqb(entity: API.BizPay_SqbRefund): Promise<API.RespResult<boolean>> {
  return request(`/api/v1/biz-pay/refund-sqb-by-sn`, {
    method: 'POST',
    data: entity,
  });
}


export async function refundSys(entity: API.BizPay_SysRefund): Promise<API.RespResult<boolean>> {
  return request(`/api/v1/biz-pay/refund-sqb-by-subscribe`, {
    method: 'POST',
    data: entity,
  });
}

